package org.ejc.persist.model;

import java.io.Serializable;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class PriceGroup implements Serializable {

    /** identifier field */
    private Integer id;

    /** persistent field */
    private String desc;

    /** persistent field */
    private Set priceTypes;

    /** full constructor */
    public PriceGroup(Integer id, String desc, Set priceTypes) {
        this.id = id;
        this.desc = desc;
        this.priceTypes = priceTypes;
    }

    /** default constructor */
    public PriceGroup() {
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Set getPriceTypes() {
        return this.priceTypes;
    }

    public void setPriceTypes(Set priceTypes) {
        this.priceTypes = priceTypes;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}
